<%@ Page Language="C#" MasterPageFile="~/Generales/GC.Master" AutoEventWireup="true" CodeBehind="Comercials.aspx.cs" Inherits="Gestion_Comercial.Comercials" Title="Listado de comerciales - SGC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phCentral" runat="server">
    <table style="width: 100%; border-top-style: none; border-right-style: none; border-left-style: none;
        border-bottom-style: none">
        <tr>
            <td class="CeldaTitulo" style="height: 21px" valign="middle">
                Listado de comerciales</td>
        </tr>
    </table>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
        CellPadding="4" DataSourceID="dsComerciales" ForeColor="#333333" GridLines="None">
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ComercialDetalle.aspx?ID={0}"
                Text="Ver..." />
            <asp:BoundField DataField="Apellido" HeaderText="Apellido" SortExpression="Apellido" />
            <asp:BoundField DataField="Nombre" HeaderText="Nombre" SortExpression="Nombre" />
            <asp:BoundField DataField="Celular1" HeaderText="Celular 1" SortExpression="Celular1" />
            <asp:BoundField DataField="Telefono1" HeaderText="Telefono 1" SortExpression="Telefono1" />
            <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
            <asp:BoundField DataField="Nextel" HeaderText="Nextel" SortExpression="Nextel" />
        </Columns>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
    <asp:Button ID="Button1" runat="server" PostBackUrl="ComercialDetalle.aspx?ID=-1" Text="Nuevo Comercial" /><br />
    <asp:ObjectDataSource ID="dsComerciales" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="ObtenerTodos"
        TypeName="Gestion_Comercial._2_Logica_de_Negocio.ONComercialColeccion">
    </asp:ObjectDataSource>
    <br />
</asp:Content>
